﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Senparc.Weixin.Entities;
using ZLWeb.WebApiEntityBase;

namespace WeChatCardProxy.WebApiControllers.Model
{
    public class CodeModel: WxJsonResult
    {
        /// <summary>
        /// 该用户的openid
        /// </summary>
        public string openid { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public bool can_consume { get; set; }

        /// <summary>
        /// 会员卡的状态
        /// </summary>
        public string user_card_status { get; set; }

        /// <summary>
        /// 会员卡领取时传入的渠道值
        /// </summary>
        public string outer_str { get; set; }

        ///// <summary>
        ///// 错误码
        ///// </summary>
        //public int errcode { get; set; }

        ///// <summary>
        ///// 错误信息
        ///// </summary>
        //public string errmsg { get; set; }


        public CardModel card { get; set; }
    }
}
